require File.dirname(File.expand_path(__FILE__)) + '/includes'
require 'uranium/loggerwrapper'
require 'fileutils'
require 'find'

path = "."

if (ARGV.length > 0)
    path = ARGV[0]
end

Find.find(path) do |p|
    if p.match(/_tests\.rb$/i)
        begin
            require (File.expand_path(p)) and Log.debug "requiring #{p}"
            rescue Exception => e
                Log.debug "problem loading #{e.inspect}"
        end
    end
end
